home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
lists
/
gem
/
l_0399
/
259
< prev
next >
Wrap
Text File
|
1994-08-27
|
1KB
|
32 lines
Subject: Re: Proposal
Date: Thu, 2 Jun 1994 14:58:35 +0200 (MDT)
In-Reply-To: <199406021047.MAA10979@blade.stack.urc.tue.nl> from "Erlend Nagel" at Jun 2, 94 12:47:04 pm
From: Annius.Groenink@cwi.nl (Annius Groenink)
X-Face: "E3Hm]k]&:,OEP<{D2ixJf>-9[qOGLebNa0&cQyFL-a~)kTM3&&I"gFw=fJ]K%1IduGjOE`
ZGu]&~G]QNGa7i/L!+#Xng<|+}HKYHj~5?fTInUEUh0$I1gBI7jrA!&_|e/pR1[cX:^xgJTPsrjA_9
m8Zli[|.-u{]+c1(6C7mL*m`/_J\>.{4!:g
Mime-Version: 1.0
Precedence: bulk
> evnt_multi returns the scancode. I always include a scancode.h file and
> just write the names of the keys. I don't think this is difficult for
> programmers (at least not in C, and I would expect that other languages
> have no problems as well).
As we discussed on the news a while ago, this is VERY BAD PRACTICE for
lettered keys! As control Y and control Z for example have different
scancodes on German keyboards! For French keyboards this is even much
worse.
The only correct way AFAIK is to read the tables produced by Keytbl() in order
to get the letter, and reading the shift key status or smartly interpreting
the lower byte of the scancode to determining whether ALT or CONTROL was
pressed.
--
Annius V. Groenink | E-mail: avg@cwi.nl | Private & ZFC:
CWI, Kruislaan 413 | Room: M233 | P.O. Box 12079
1098 SJ Amsterdam | Ext: 4077 | NL 1100 AB Amsterdam
Netherland | Phone: +31 20 592 4077 | Phone: +31 20 695 9901